package com.llly.client.impl;

import com.github.pagehelper.Page;
import com.llly.client.UserFeignClient;
import com.llly.pojo.Easybuy_order;
import com.llly.pojo.Easybuy_user;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

//熔断，降级页面
@Component
public class UserFeignClientImpl implements UserFeignClient {
    @Override
    public Easybuy_user login(String loginName, String password) {
        return null;
    }

    @Override
    public int adduser(@RequestBody Easybuy_user ea) {
        return 0;
    }

    @Override
    public Easybuy_user iddetails(Integer id) {
        return null;
    }

    @Override
    public Map<String, Object> showUsers(Integer PageIndex) {
        return null;
    }

    @Override
    public int deleteUsers(Integer id) {
        return 0;
    }

    @Override
    public int updateUser(Easybuy_user ea) {
        return 0;
    }
}
